Mathias Hasselmann [Thu, 8 Mar 2007 02:36:46 +0000 (02:36 +0000)]
Add shadow-type style property, set shadow-type property of GtkEntry
2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
property of GtkEntry accordingly, unify size-allocation of toggle
button (#411123, patch from Mathias Hasselmann).
* gtk/gtkentry.c: Add shadow-type property. Query style properties
on style changes only (#411123, patch from Mathias Hasselmann).
* modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
hack as GtkComboBox emits drawing requests now (#411123, patch
from Mathias Hasselmann).
svn path=/trunk/; revision=17426
Mathias Hasselmann [Thu, 8 Mar 2007 02:33:15 +0000 (02:33 +0000)]
Improve look of GtkScrolledWindow on Windows by implementing a
2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
by implementing a scrollbars-within-bevel style property. (#168326)
svn path=/trunk/; revision=17425
Tor Lillqvist [Wed, 7 Mar 2007 23:41:05 +0000 (23:41 +0000)]
Add Novell and tbf as copyright holders
svn path=/trunk/; revision=17423
Mathias Hasselmann [Wed, 7 Mar 2007 23:17:38 +0000 (23:17 +0000)]
Use Windows shell icons. Icons are stored in the current theme with the
2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
stored in the current theme with the name
"gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
icons as reported by SHGetFileInfoW. (#412221)
svn path=/trunk/; revision=17421
Matthias Clasen [Wed, 7 Mar 2007 21:34:43 +0000 (21:34 +0000)]
Draw the focus around the arrow if there is no label widget. (#124045,
2007-03-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
focus around the arrow if there is no label widget.
(#124045, Cody Russell)
svn path=/trunk/; revision=17419
Matthias Clasen [Wed, 7 Mar 2007 21:10:45 +0000 (21:10 +0000)]
Set names on the popup widgets to make them themable. (#414975, Benjamin
2007-03-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombo.c: (gtk_combo_init):
* gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
(gtk_combo_box_menu_setup):
Set names on the popup widgets to make them themable. (#414975,
Benjamin Berg)
svn path=/trunk/; revision=17417
Michael Natterer [Wed, 7 Mar 2007 14:18:53 +0000 (14:18 +0000)]
use multihead safe ungrab functions instead of gdk_keyboard_ungrab() and
2007-03-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
empty finalize() implementation, some cosmetic cleanup
(bug #415645).
svn path=/trunk/; revision=17412
Chris Wilson [Tue, 6 Mar 2007 18:26:41 +0000 (18:26 +0000)]
Be careful not to trigger a style reset before we have loaded the icon
2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
* gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
(do_theme_change), (gtk_icon_theme_set_custom_theme),
(load_themes):
Be careful not to trigger a style reset before we have loaded
the icon theme. (#414875).
svn path=/trunk/; revision=17404
Hendrik Richter [Tue, 6 Mar 2007 17:13:25 +0000 (17:13 +0000)]
Updated German translation.
2007-03-06 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation.
svn path=/trunk/; revision=17402
Hendrik Richter [Tue, 6 Mar 2007 17:12:39 +0000 (17:12 +0000)]
Updated German translation.
2007-03-06 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation.
svn path=/trunk/; revision=17401
Jovan Naumovski [Tue, 6 Mar 2007 10:21:37 +0000 (10:21 +0000)]
2007-03-06 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.
svn path=/trunk/; revision=17397
Tor Lillqvist [Tue, 6 Mar 2007 09:52:35 +0000 (09:52 +0000)]
gdk/Makefile.am gdk-pixbuf/Makefile.am Further fixes for building on Win32
2007-03-06 Tor Lillqvist <tml@novell.com>
* gdk/Makefile.am
* gdk-pixbuf/Makefile.am
* gtk/Makefile.am: Further fixes for building on Win32 outside
srcdir. (#413492, Mathias Hasselmann)
svn path=/trunk/; revision=17395
Matthias Clasen [Tue, 6 Mar 2007 04:16:24 +0000 (04:16 +0000)]
Flip some more images
svn path=/trunk/; revision=17393
Ihar Hrachyshka [Mon, 5 Mar 2007 13:38:45 +0000 (13:38 +0000)]
Fixed problems with be@latin.
svn path=/trunk/; revision=17392
Claudio Saavedra [Mon, 5 Mar 2007 00:49:59 +0000 (00:49 +0000)]
Removed be@latin from ALL_LINGUAS, as it's currently breaking the build.
2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
* configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
breaking the build.
svn path=/trunk/; revision=17390
Ihar Hrachyshka [Sun, 4 Mar 2007 19:44:09 +0000 (19:44 +0000)]
Updated Belarusian Latin translation.
svn path=/trunk/; revision=17388
Guillaume SAVATON [Sun, 4 Mar 2007 18:52:32 +0000 (18:52 +0000)]
removed "fuzzy" before po header; added author information
2007-03-04 Guillaume SAVATON <llumeao@gmail.com>
* eo.po: removed "fuzzy" before po header; added author information
svn path=/trunk/; revision=17387
Erdal Ronahi [Sun, 4 Mar 2007 15:45:54 +0000 (15:45 +0000)]
Corrected bug #355838
svn path=/trunk/; revision=17386
Ihar Hrachyshka [Sun, 4 Mar 2007 13:43:42 +0000 (13:43 +0000)]
be@latin.po: Added Belarusian Latin translation by Ales Navicki.
svn path=/trunk/; revision=17385
Guillaume Savaton [Sat, 3 Mar 2007 19:36:30 +0000 (19:36 +0000)]
Corrected mistakes in Esperanto translation (labels translated in msgstr)
2007-03-03 Guillaume Savaton <llumeao@gmail.com>
* eo.po: Corrected mistakes in Esperanto translation (labels translated in msgstr)
svn path=/trunk/; revision=17380
Guillaume Savaton [Sat, 3 Mar 2007 18:57:27 +0000 (18:57 +0000)]
Added Esperanto (eo) translation
2007-03-03 Guillaume Savaton <llumeao@gmail.com>
* Added Esperanto (eo) translation
svn path=/trunk/; revision=17379
Matthias Clasen [Thu, 1 Mar 2007 06:47:15 +0000 (06:47 +0000)]
remove forgotten debug code
svn path=/trunk/; revision=17370
Matthias Clasen [Thu, 1 Mar 2007 06:44:00 +0000 (06:44 +0000)]
Always store gtk-color-scheme values from all sources in the
2007-03-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c: Always store gtk-color-scheme
values from all sources in the ColorSchemeData struct
and ignore the property_value for gtk-color-scheme.
This fixes #412596, reported by Thomas Wood.
svn path=/trunk/; revision=17369
Matthias Clasen [Wed, 28 Feb 2007 19:37:08 +0000 (19:37 +0000)]
Make color scheme update properly when changing themes. (#402131, Benjamin
2007-02-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtksettings.c: Make color scheme update properly
when changing themes. (#402131, Benjamin Berg)
svn path=/trunk/; revision=17366
Matthias Clasen [Wed, 28 Feb 2007 17:00:55 +0000 (17:00 +0000)]
Don't leak references to the color-hash gotten from GtkSettings. (#409357,
2007-02-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c: Don't leak references to the color-hash
gotten from GtkSettings. (#409357, Benjamin Berg)
svn path=/trunk/; revision=17364
Tristan Van Berkom [Wed, 28 Feb 2007 16:16:54 +0000 (16:16 +0000)]
Fixed a warning from g_object_set (radiobutton, "group", NULL, NULL).
* gtk/gtkradiobutton.c: Fixed a warning from
g_object_set (radiobutton, "group", NULL, NULL).
svn path=/trunk/; revision=17363
Felix Riemann [Tue, 27 Feb 2007 19:28:28 +0000 (19:28 +0000)]
Add image/x-ico to supported mime types. Fixes bug #393599.
2007-02-27 Felix Riemann <friemann@svn.gnome.org>
* io-ico.c: (fill_info): Add image/x-ico to supported mime types.
Fixes bug #393599.
svn path=/trunk/; revision=17361
Gintautas Miliauskas [Tue, 27 Feb 2007 14:47:35 +0000 (14:47 +0000)]
Updated Lithuanian translation.
2007-02-27 Gintautas Miliauskas <gintas@akl.lt>
* lt.po: Updated Lithuanian translation.
svn path=/trunk/; revision=17359
Matthias Clasen [Mon, 26 Feb 2007 19:45:33 +0000 (19:45 +0000)]
Apply a patch by Carlos Garnacho to fix several problems with filechooser
2007-02-26 Matthias Clasen <mclasen@redhat.com>
Apply a patch by Carlos Garnacho to fix several problems
with filechooser size handling (#325477, #151169, 143213,
#153785)
* gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
(browse_widgets_create): Don't force the paned position to 200.
(find_good_size_from_style): Take the size of the extra widget
into account.
* gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
Accept a minimal width parameter. Update all callers.
svn path=/trunk/; revision=17357
Matthias Clasen [Mon, 26 Feb 2007 19:12:22 +0000 (19:12 +0000)]
Change a label
svn path=/trunk/; revision=17356
Matthias Clasen [Mon, 26 Feb 2007 14:56:11 +0000 (14:56 +0000)]
Make folder selection for print-to-file work
svn path=/trunk/; revision=17354
Chris Wilson [Mon, 26 Feb 2007 14:09:21 +0000 (14:09 +0000)]
Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause
2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
* gtk/gtkicontheme.c: (scan_directory):
Reorder the replacement of the shared base_name key, so that we
avoid dereferencing the string in the icon_theme->all_icon
hash table after freeing it from the dir->icons hash table.
svn path=/trunk/; revision=17353
Tor Lillqvist [Mon, 26 Feb 2007 13:48:01 +0000 (13:48 +0000)]
Add comment clarifying that "icon name" here is not related to the
2007-02-26 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
comment clarifying that "icon name" here is not related to the
freedesktop.org icon naming stuff.
svn path=/trunk/; revision=17351
Ilkka Tuohela [Sun, 25 Feb 2007 16:13:39 +0000 (16:13 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=17350
Dom Lachowicz [Fri, 23 Feb 2007 16:30:05 +0000 (16:30 +0000)]
Bug 411118 - bad bevel for progress bar on windows classic. Match from
2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
* modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
progress bar on windows classic. Match from Mathias Hasselmann.
svn path=/trunk/; revision=17344
Gintautas Miliauskas [Wed, 21 Feb 2007 23:52:31 +0000 (23:52 +0000)]
Updated Lithuanian translation.
2007-02-22 Gintautas Miliauskas <gintas@akl.lt>
* lt.po: Updated Lithuanian translation.
svn path=/trunk/; revision=17341
Maxim Dziumanenko [Wed, 21 Feb 2007 09:24:42 +0000 (09:24 +0000)]
Update Ukrainian translation.
2007-02-21 Maxim Dziumanenko <dziumanenko@gmail.com>
* Update Ukrainian translation.
svn path=/trunk/; revision=17340
Hendrik Richter [Tue, 20 Feb 2007 14:36:39 +0000 (14:36 +0000)]
Updated German translation, fix #410019.
2007-02-20 Hendrik Richter <hendrikr@gnome.org>
* de.po: Updated German translation, fix #410019.
svn path=/trunk/; revision=17339
Vladimer Sichinava [Mon, 19 Feb 2007 02:49:11 +0000 (02:49 +0000)]
Updated Georgian translation
svn path=/trunk/; revision=17333
Tor Lillqvist [Mon, 19 Feb 2007 00:32:32 +0000 (00:32 +0000)]
Remove. (gdk_device_get_type): Drop class init function. The X11 version
2007-02-19 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkinput.c
(gdk_device_finalize, gdk_device_class_init): Remove.
(gdk_device_get_type): Drop class init function. The X11 version
doesn't have one either.
(gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
(gdk_display_list_devices): Check that the argument is
_gdk_display.
* gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
Cleanup: remove unused fields.
* gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
names in a few debugging printouts.
svn path=/trunk/; revision=17332
Matthias Clasen [Sun, 18 Feb 2007 16:24:13 +0000 (16:24 +0000)]
Ignore invisible text when going to end of the previous line. (#382565)
2007-02-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
Ignore invisible text when going to end of the previous line.
(#382565)
svn path=/trunk/; revision=17328
Amanpreet Singh Alam [Sun, 18 Feb 2007 15:39:01 +0000 (15:39 +0000)]
updating for Punjabi by AP S Alam
svn path=/trunk/; revision=17326
Richard Hult [Sun, 18 Feb 2007 11:04:06 +0000 (11:04 +0000)]
Setup release pools to plug two leaks, patch from Erik van Pienbroek,
2007-02-18 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_quartz_process_all_updates),
(_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
patch from Erik van Pienbroek, fixes bug #396649.
svn path=/trunk/; revision=17325
Richard Hult [Sun, 18 Feb 2007 10:56:13 +0000 (10:56 +0000)]
Add stub for gdk_display_add_client_message_filter, patch from Taybin
2007-02-18 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkevents-quartz.c: Add stub for
gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
bug #405870.
* gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
svn path=/trunk/; revision=17324
Richard Hult [Sun, 18 Feb 2007 10:26:49 +0000 (10:26 +0000)]
Import AppKit.h instead of Quartz.h. Don't use userSpaceScaleFactor for
2007-02-18 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzView.h:
* gdk/quartz/GdkQuartzWindow.h:
* gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
* gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
userSpaceScaleFactor for 10.3. Those changes bring us closer to working
on panther, patch from Mathias Hasselmann.
* gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
svn path=/trunk/; revision=17323
Alexander Shopov [Sat, 17 Feb 2007 20:52:32 +0000 (20:52 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2007-02-17 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
svn path=/trunk/; revision=17321
Alexander Shopov [Sat, 17 Feb 2007 20:51:02 +0000 (20:51 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2007-02-17 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
svn path=/trunk/; revision=17320
Behdad Esfahbod [Fri, 16 Feb 2007 22:12:42 +0000 (22:12 +0000)]
Use PANGO_PIXELS instead of division. (#334617)
2007-02-16 Behdad Esfahbod <behdad@gnome.org>
* gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
instead of division. (#334617)
svn path=/trunk/; revision=17317
Kristian Rietveld [Fri, 16 Feb 2007 21:35:31 +0000 (21:35 +0000)]
add cursor_offset field.
2007-02-16 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeprivate.h: add cursor_offset field.
* gtk/gtktreeview.c (gtk_tree_view_init),
(gtk_tree_view_move_cursor_page_up_down): fix off by one error
in page up/down handling by memorizing the offset into the cursor
row. (Fixes #399809, reported by Bruce Bowler).
svn path=/trunk/; revision=17316
Kristian Rietveld [Fri, 16 Feb 2007 21:24:54 +0000 (21:24 +0000)]
send a focus-in event to the tree view after hiding the search dialog.
2007-02-16 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
a focus-in event to the tree view after hiding the search dialog.
(#356515, Rich Burridge, Peter Parente).
svn path=/trunk/; revision=17314
Kristian Rietveld [Fri, 16 Feb 2007 20:10:48 +0000 (20:10 +0000)]
also handle keyboard tooltips. (#408325, Matthias Clasen).
2007-02-16 Kristian Rietveld <kris@imendio.com>
* tests/testtooltips.c (query_tooltip_text_view_cb): also handle
keyboard tooltips. (#408325, Matthias Clasen).
svn path=/trunk/; revision=17313
Xan Lopez [Fri, 16 Feb 2007 16:00:19 +0000 (16:00 +0000)]
Cleanup the logic in expose event handler. Reviewed by Matthias Clasen,
* gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
in expose event handler. Reviewed by Matthias Clasen, #406112
svn path=/trunk/; revision=17312
Maxim V. Dziumanenko [Fri, 16 Feb 2007 11:54:27 +0000 (11:54 +0000)]
Maxim Dziumanenko <dziumanenko@gmail.com>
* Updated Ukrainian
svn path=/trunk/; revision=17310
Matthias Clasen [Fri, 16 Feb 2007 06:09:02 +0000 (06:09 +0000)]
Fix a small leak
svn path=/trunk/; revision=17308
Matthias Clasen [Fri, 16 Feb 2007 05:32:59 +0000 (05:32 +0000)]
Fix a leak in an error path
svn path=/trunk/; revision=17306
Matthias Clasen [Fri, 16 Feb 2007 04:01:50 +0000 (04:01 +0000)]
Be more careful when checking for ButtonRelease events that end implicit
2007-02-15 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
careful when checking for ButtonRelease events that end implicit
grabs. (#386618, Christof Krüger)
svn path=/trunk/; revision=17304
Matthias Clasen [Thu, 15 Feb 2007 20:38:21 +0000 (20:38 +0000)]
Free the lines even if there are no views. (#408018, Albert Huang)
2007-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
even if there are no views. (#408018, Albert Huang)
svn path=/trunk/; revision=17302
Cody Russell [Thu, 15 Feb 2007 18:46:51 +0000 (18:46 +0000)]
Fix small mistake in my ChangeLog
svn path=/trunk/; revision=17301
Cody Russell [Thu, 15 Feb 2007 18:28:55 +0000 (18:28 +0000)]
Fix Win32 resize events and flickering
svn path=/trunk/; revision=17299
Matthias Clasen [Thu, 15 Feb 2007 16:56:11 +0000 (16:56 +0000)]
Handle symlinked .icon files intelligently; also avoid storing duplicate
2007-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c: Handle symlinked .icon files
intelligently; also avoid storing duplicate strings.
svn path=/trunk/; revision=17298
Michael Natterer [Thu, 15 Feb 2007 08:53:55 +0000 (08:53 +0000)]
remove two antique function typedefs that are probably obsolete for ages.
2007-02-15 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenushell.c: remove two antique function typedefs that
are probably obsolete for ages.
svn path=/trunk/; revision=17297
Stefan Kost [Wed, 14 Feb 2007 21:54:29 +0000 (21:54 +0000)]
reviewed by: Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/Makefile.am:
* gdk/Makefile.am:
* gtk/Makefile.am: use installation prefixes of dependent libs to
crossreference docs (#407146).
svn path=/trunk/; revision=17295
Stefan Kost [Wed, 14 Feb 2007 21:54:09 +0000 (21:54 +0000)]
reviewed by: Matthias Clasen <mclasen@redhat.com>
* configure.in: determine installation prefixes of dependent libs to
crossreference docs (#407146).
svn path=/trunk/; revision=17294
Kristian Rietveld [Wed, 14 Feb 2007 20:38:02 +0000 (20:38 +0000)]
check return value of gtk_widget_translate_coordinates() so we cannot end
2007-02-14 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (child_location_foreach): check return value
of gtk_widget_translate_coordinates() so we cannot end up
using uninitialized x, y values. (#407863, patch from Carlos
Garnacho).
svn path=/trunk/; revision=17293
Kristian Rietveld [Wed, 14 Feb 2007 12:13:48 +0000 (12:13 +0000)]
use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window position
2007-02-14 Kristian Rietveld <kris@imendio.com>
* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
position instead of a hardcoded value. (Taken from maemo-gtk).
svn path=/trunk/; revision=17292
Michael Natterer [Wed, 14 Feb 2007 11:52:27 +0000 (11:52 +0000)]
don't forget to set the state of the synthesized GDK_ENTER_NOTIFY event.
2007-02-14 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
maemo-gtk.
svn path=/trunk/; revision=17291
Kristian Rietveld [Tue, 13 Feb 2007 12:41:36 +0000 (12:41 +0000)]
stop any pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
2007-02-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
svn path=/trunk/; revision=17290
Ilkka Tuohela [Tue, 13 Feb 2007 05:18:47 +0000 (05:18 +0000)]
Updated Finnish translation
svn path=/trunk/; revision=17289
Emmanuele Bassi [Sat, 10 Feb 2007 12:14:39 +0000 (12:14 +0000)]
Fix the english of the comment; remove some type checking; use better
2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
remove some type checking; use better variable naming for the
internal menu item markers.
svn path=/trunk/; revision=17284
Stéphane Raimbault [Sat, 10 Feb 2007 09:34:38 +0000 (09:34 +0000)]
Updated French translation by Jonathan Ernst and Stéphane Raimbault
2007-02-09 Stéphane Raimbault <stephane.raimbault@gmail.com>
* fr.po: Updated French translation by Jonathan Ernst and Stéphane
Raimbault (added bug report #406160).
svn path=/trunk/; revision=17283
Emmanuele Bassi [Fri, 9 Feb 2007 14:24:19 +0000 (14:24 +0000)]
Add support for both prepending and appending custom menu items.
2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c: Add support for both prepending
and appending custom menu items.
(gtk_recent_chooser_menu_constructor): Add a placeholder menu
item for the empty menu case, and for giving us a starting
point for the recent items populating process.
(gtk_recent_chooser_menu_insert_item),
(gtk_recent_chooser_menu_dispose_items): Insert an item at
the position following the placeholder (and find that position
if needed).
(idle_populate_func), (idle_populate_clean_up): Show the
placeholder menu item, instead of creating one each time.
(gtk_recent_chooser_menu_populate): Kill some indirections
and hide the placeholder before populating the menu.
(set_recent_manager): Remember to remove the idle population
source if the manager changes.
* tests/testrecentchoosermenu.c: Test the appending and
prepending of the menu items to the recent chooser menu
widget.
svn path=/trunk/; revision=17281
David Lodge [Fri, 9 Feb 2007 11:24:44 +0000 (11:24 +0000)]
Updated (British) English translation
svn path=/trunk/; revision=17279
Emmanuele Bassi [Thu, 8 Feb 2007 14:22:20 +0000 (14:22 +0000)]
Keep count of the displayed items to build the menu items mnemonic instead
2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
of the displayed items to build the menu items mnemonic instead
of the overall item count. (#377164)
(idle_populate_clean_up): Append a menu item if all the items
got filtered in the idle populate function. (#405696)
svn path=/trunk/; revision=17277
Tim Janik [Thu, 8 Feb 2007 12:11:02 +0000 (12:11 +0000)]
applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
* applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
GtkButtonBox (bug #336159).
* gtk/gtkenums.h:
* gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
support GTK_BUTTONBOX_CENTER.
* tests/testbbox.c: new button box test, which allows testing of
the various button box properties.
* tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
svn path=/trunk/; revision=17276
Cody Russell [Wed, 7 Feb 2007 20:33:46 +0000 (20:33 +0000)]
Add gdk_event_request_motions
2007-02-07 Cody Russell <bratsche@gnome.org>
* gdk/gdk.symbols: Add gdk_event_request_motions
svn path=/trunk/; revision=17275
Tim Janik [Wed, 7 Feb 2007 18:09:35 +0000 (18:09 +0000)]
fixed motion request condition which was wrongly ported with my last
Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
condition which was wrongly ported with my last commit.
svn path=/trunk/; revision=17274
Chris Wilson [Wed, 7 Feb 2007 14:47:36 +0000 (14:47 +0000)]
Set the GError if the image is zero length. (#405327)
2007-02-07 Chris Wilson <chris@chris-wilson.co.uk>
* io-jpeg.c: (gdk_pixbuf__jpeg_image_load),
(gdk_pixbuf__jpeg_image_load_increment): Set the GError
if the image is zero length. (#405327)
svn path=/trunk/; revision=17272
Tim Janik [Tue, 6 Feb 2007 15:02:59 +0000 (15:02 +0000)]
fixed typo
svn path=/trunk/; revision=17270
Tim Janik [Tue, 6 Feb 2007 14:53:35 +0000 (14:53 +0000)]
call gdk_event_request_motions() for new motion events after receiving
Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
* gtk/gtktextview.c (gtk_text_view_motion_event):
* gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
* gtk/gtkaboutdialog.c (credits_motion_notify_event):
* gtk/gtkhruler.c (gtk_hruler_motion_notify):
* gtk/gtkvruler.c (gtk_vruler_motion_notify):
* gtk/gtkentry.c (gtk_entry_motion_notify):
* gtk/gtktooltip.c (_gtk_tooltip_handle_event):
* gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
for new motion events after receiving motion hints.
* gdk/gdkevents.[hc]: added gdk_event_request_motions().
svn path=/trunk/; revision=17269
Matthias Clasen [Tue, 6 Feb 2007 13:56:06 +0000 (13:56 +0000)]
Protect against stop_load begin broken. (#403255, Lucas Mazzardo Veloso)
2007-02-06 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Protect
against stop_load begin broken. (#403255, Lucas Mazzardo Veloso)
svn path=/trunk/; revision=17267
Kristian Rietveld [Tue, 6 Feb 2007 13:13:19 +0000 (13:13 +0000)]
remove unused get of has_tooltip.
2007-02-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
remove unused get of has_tooltip.
* tests/testtooltips.c (query_tooltip_tree_view_cb): use the
portable g_snprintf instead of snprintf.
svn path=/trunk/; revision=17266
Michael Natterer [Tue, 6 Feb 2007 12:11:33 +0000 (12:11 +0000)]
chain up.
2007-02-06 Michael Natterer <mitch@imendio.com>
* gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
(gtk_tooltip_show_tooltip): move variables and code to local
scope. Fixes warnings about maybe uninitialized variables.
svn path=/trunk/; revision=17265
Kristian Rietveld [Tue, 6 Feb 2007 10:25:21 +0000 (10:25 +0000)]
New tooltips API.
2007-02-06 Kristian Rietveld <kris@imendio.com>
New tooltips API.
* gtk/Makefile.am
* gtk/gtk.h
* gtk/gtk.symbols: build system foo.
* gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
hook for appropriate events.
* gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
* gtk/gtkrc.c: add style for gtk-tooltip.
* gtk/gtksettings.c (gtk_settings_class_init): make the
different tooltip timeouts configurable.
* gtk/gtkwidget.[ch]: add new properties, signals, make sure
tooltips are hidden on unmap, destroy, update window event
mask on realize, hook into focus change and show help
handlers.
* gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
* gtk/gtktooltip.[ch]: new files.
* tests/Makefile.am
* tests/testtooltips.c: add test application.
svn path=/trunk/; revision=17264
Dom Lachowicz [Mon, 5 Feb 2007 14:30:06 +0000 (14:30 +0000)]
Fix bug 404506, caused by prematurely releasing a DC. By Hiroyuki Yamamoto
2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
* modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
by prematurely releasing a DC. By Hiroyuki Yamamoto
* modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
pixbufs when drawing rotated tabs. By Daniel Atallah
svn path=/trunk/; revision=17263
Michael Natterer [Mon, 5 Feb 2007 14:11:39 +0000 (14:11 +0000)]
add new boolean settings gtk-enable-accels and gtk-enable-mnemonics which
2007-02-05 Michael Natterer <mitch@imendio.com>
* gtk/gtksettings.c: add new boolean settings gtk-enable-accels
and gtk-enable-mnemonics which enable/disable accelerators and
mnemonics (bug #72375, based on a patch from Tommi Komulainen).
* gtk/gtkwindow.c (gtk_window_activate_key)
* gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
if the resp. setting is FALSE.
* gtk/gtkaccellabel.c (gtk_accel_label_refetch)
* gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
them if the setting is FALSE.
* gtk/gtklabel.c: added signal connection to the screen's settings
object and traverse all widgets on the screen when the setting
changes. It's slightly ugly to also update GtkAccelLabels here,
but less ugly than connecting and traversing all widgets twice.
svn path=/trunk/; revision=17262
Michael Natterer [Mon, 5 Feb 2007 10:36:27 +0000 (10:36 +0000)]
changed values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
2007-02-05 Michael Natterer <mitch@imendio.com>
* gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
ansi C enum value limits. Fixes bug #46757.
svn path=/trunk/; revision=17260
Soren Sandmann [Sun, 4 Feb 2007 01:28:38 +0000 (01:28 +0000)]
Remove these files since GSequence has been moved into GLib.
2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
* gtk/gtksequence.[ch]: Remove these files since GSequence has
been moved into GLib.
* gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
* configure.in: Require glib-2.13.0
svn path=/trunk/; revision=17259
Tor Lillqvist [Sun, 4 Feb 2007 00:32:52 +0000 (00:32 +0000)]
Nitpick. Define BITMAPV5HEADERS also for w32api < 3.0, although I have
no idea whether gdk/win32 would build with such an old beast.
svn path=/trunk/; revision=17258
Tor Lillqvist [Sun, 4 Feb 2007 00:19:53 +0000 (00:19 +0000)]
Don't define BITMAPV5HEADER on mingw with w32api >= 3.8, which has it in
2007-02-04 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
svn path=/trunk/; revision=17256
Kristian Rietveld [Fri, 2 Feb 2007 20:37:02 +0000 (20:37 +0000)]
remove unused style_get of vertical-separator. (#403165, Chris Wilson).
2007-02-02 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
style_get of vertical-separator. (#403165, Chris Wilson).
svn path=/trunk/; revision=17252
Christian Persch [Fri, 2 Feb 2007 19:07:39 +0000 (19:07 +0000)]
Use a simple key file instead of a markup file. Bug #399592.
2007-02-02 Christian Persch <chpe@svn.gnome.org>
* gtk/gtkfilechoosersettings.c: (get_config_filename),
(ensure_settings_read), (_gtk_file_chooser_settings_init),
(_gtk_file_chooser_settings_set_show_hidden),
(_gtk_file_chooser_settings_set_expand_folders),
(_gtk_file_chooser_settings_save): Use a simple key file instead of a
markup file. Bug #399592.
svn path=/trunk/; revision=17251
Mariano Suárez-Alvarez [Fri, 2 Feb 2007 03:50:46 +0000 (03:50 +0000)]
be a little more helpful with the docs on GtkCellRendererText:alignment.
2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
* gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
be a little more helpful with the docs on GtkCellRendererText:alignment.
Bug #403409.
svn path=/trunk/; revision=17250
Michael Natterer [Thu, 1 Feb 2007 19:47:29 +0000 (19:47 +0000)]
pass &event->area to gtk_paint_box() calls.
2007-02-01 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
gtk_paint_box() calls.
svn path=/trunk/; revision=17248
Michael Natterer [Thu, 1 Feb 2007 13:57:36 +0000 (13:57 +0000)]
remove redundant and confusing if (GTK_IS_MENU (widget)) checks because
2007-02-01 Michael Natterer <mitch@imendio.com>
* gtk/gtkmenu.c (gtk_menu_button_press)
(gtk_menu_button_release)
(gtk_menu_button_scroll): remove redundant and confusing
if (GTK_IS_MENU (widget)) checks because "widget" is always a
GtkMenu here.
svn path=/trunk/; revision=17247
Tim Janik [Thu, 1 Feb 2007 11:42:38 +0000 (11:42 +0000)]
remove extra reference that gtkcombobox keeps on priv->popup_widget if
Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
that gtkcombobox keeps on priv->popup_widget if it's a tree view.
svn path=/trunk/; revision=17246
Christian Persch [Wed, 31 Jan 2007 18:40:32 +0000 (18:40 +0000)]
Hide the Credits button iff there are no credits to show. Bug #402806.
2007-01-31 Christian Persch <chpe@svn.gnome.org>
* gtk/gtkaboutdialog.c: (update_credits_button_visibility),
(gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
(gtk_about_dialog_set_artists),
(gtk_about_dialog_set_translator_credits): Hide the Credits button iff
there are no credits to show. Bug #402806.
svn path=/trunk/; revision=17242
Tor Lillqvist [Tue, 30 Jan 2007 23:49:39 +0000 (23:49 +0000)]
New debugging function. (_gdk_input_wintab_init_check): Call it when
2007-01-31 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkinput-win32.c (print_cursor): New debugging
function.
(_gdk_input_wintab_init_check): Call it when debugging output is
requested.
(_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
tablets. The Wacom driver reports duplicated cursors with
physid==0. Fix verified by Robert *gren. (Should be U+00D6
there, but svn won't let me.)
svn path=/trunk/; revision=17241
Felix Riemann [Tue, 30 Jan 2007 20:19:11 +0000 (20:19 +0000)]
Fix leaked string. Fixes bug #402565.
2007-01-30 Felix Riemann <friemann@svn.gnome.org>
* modules/printbackends/file/gtkprintbackendfile.c:
(file_printer_get_options): Fix leaked string. Fixes bug #402565.
svn path=/trunk/; revision=17238
Matthias Clasen [Tue, 30 Jan 2007 18:36:44 +0000 (18:36 +0000)]
Be more careful about toplevel possibly being NULL. (#402453, Sebastian
2007-01-30 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
(gdk_x11_window_set_user_time): Be more careful about toplevel
possibly being NULL. (#402453, Sebastian Bacher)
svn path=/trunk/; revision=17236
Tim Janik [Tue, 30 Jan 2007 11:10:22 +0000 (11:10 +0000)]
cleaned up ::color-hash registration to not abuse class_n_properties and
Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
* gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
class_n_properties and leave an uninitialized value array behind.
svn path=/trunk/; revision=17235